laravel route group middleware prefix

54

laravel route group middleware prefix -

Route::group(['prefix' => 'admin','middleware' => ['auth:admin']], function() {
    Route::get('dashboard','AdminController@dashboard');
});

Comments

Submit
0 Comments